package com.lingjtx.common.pay.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "pay.wepay")
public class WePayConfigProperties {

    private String appid; // 开放平台申请的 app 应用id
    private String gzhAppid; // 公众号 appid
    private String miniAppid; // 小程序 appid

    private String mchid;
    private String notifyUrl;
    private String apiKey;

    private String serialNo;
    private String pubKey;
    private String priKey;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getGzhAppid() {
        return gzhAppid;
    }

    public void setGzhAppid(String gzhAppid) {
        this.gzhAppid = gzhAppid;
    }

    public String getMiniAppid() {
        return miniAppid;
    }

    public void setMiniAppid(String miniAppid) {
        this.miniAppid = miniAppid;
    }

    public String getMchid() {
        return mchid;
    }

    public void setMchid(String mchid) {
        this.mchid = mchid;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getPubKey() {
        return pubKey;
    }

    public void setPubKey(String pubKey) {
        this.pubKey = pubKey;
    }

    public String getPriKey() {
        return priKey;
    }

    public void setPriKey(String priKey) {
        this.priKey = priKey;
    }
}
